/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package id3.models;

/**
 *
 * @author tungck
 */
public class Attribute {
    
    private String name;
    private String[] stringValues;
    private String label = null;

    public Attribute(String name, String[] stringValues) {
        this.name = name;
        this.stringValues = stringValues;
        this.label = null;
    }

    public Attribute(String label) {
        this.label = label;
        this.name = null;
        this.stringValues = null;
    }
    
    

    public String getName() {
        return name;
    }

    public String[] getStringValues() {
        return stringValues;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setStringValues(String[] stringValues) {
        this.stringValues = stringValues;
    }
    
    
    
    

}
